package com.lzx.demo.bloodpressurehelper.fragment.home;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;

import com.lzx.demo.bloodpressurehelper.R;

/**
 * Created by admin on 2016/10/25.
 */
public class CheckBloodPressureFragment extends Fragment {

    private FrameLayout calendarBloodPressure;


    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fg_home_check_blood_pressure, container, false);
        calendarBloodPressure = (FrameLayout) view.findViewById(R.id.calendar_blood_Pressure);
        FragmentManager fgm = getFragmentManager();
        FragmentTransaction fTransaction = fgm.beginTransaction();
        fTransaction.add(R.id.calendar_blood_Pressure,new CalendarFragment());
        fTransaction.commit();
        return  view;
    }
}
